// Copyright (c) 2020 cgsdfc
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT

#include "pybind11/pybind11.h"  // Our major dependency.

// This header injects some definitions from pybind11 into pyast.
// These injected things are considered to be convenient to have and thus
// allowed in our project despite some coding standards stand against them.
// Mostly notably the `using` directives within namespace scope.
namespace pyast {

using ::pybind11::object;
using singleton = object;
using string = ::pybind11::str;
using identifier = string;
using constant = object;
using bytes = ::pybind11::bytes;

using ::pybind11::error_already_set;
using ::pybind11::type_error;
using ::pybind11::value_error;

}  // namespace pyast
